package moutum.com.dagger2android.di;

import javax.inject.Singleton;

import dagger.Component;
import dagger.android.AndroidInjectionModule;
import dagger.android.support.AndroidSupportInjectionModule;
import frame.m.com.mylibrary.http.HttpUtil;
import moutum.com.dagger2android.MyApplication;

/**
 * Created by Ma.Chong on 2017/11/21.
 */

@Component(modules ={ApiModule.class,AndroidInjectionModule.class, AndroidSupportInjectionModule.class, AllActivityModule.class} )
public interface AppComponent {
    void inject(MyApplication myApplication);
    Api getMApi();
    HttpUtil getHttpUtil();
}
